package fr.afcepf.qualimetrie.banque_calcul_emprunt_data;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the frais database table.
 * 
 */
@Entity
@Table(name="frais")
@NamedQuery(name="Frais.findAll", query="SELECT f FROM Frais f")
public class Frais implements Serializable {
	private static final long serialVersionUID = 1L;
    @PersistenceContext(unitName="BanquePersistence")
    
	@Id
	@Column(name="num_plage")
	private int numPlage;

	private int frais;

	@Column(name="montant_max")
	private int montantMax;

	@Column(name="montant_min")
	private int montantMin;

	public Frais() {
	}

	public int getNumPlage() {
		return this.numPlage;
	}

	public void setNumPlage(int numPlage) {
		this.numPlage = numPlage;
	}

	public int getFrais() {
		return this.frais;
	}

	public void setFrais(int frais) {
		this.frais = frais;
	}

	public int getMontantMax() {
		return this.montantMax;
	}

	public void setMontantMax(int montantMax) {
		this.montantMax = montantMax;
	}

	public int getMontantMin() {
		return this.montantMin;
	}

	public void setMontantMin(int montantMin) {
		this.montantMin = montantMin;
	}

}